home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 12009 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.1 KB

  1. Path: erich.triumf.ca!bennett
  2. From: bennett@erich.triumf.ca (P.Bennett)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Can I use makefiles for Borland Turbo c++
  5. Date: 27 Mar 1996 21:54 PST
  6. Organization: TRIUMF: Tri-University Meson Facility
  7. Distribution: world
  8. Message-ID: <27MAR199621544751@erich.triumf.ca>
  9. References: <4jd2of$rqd@lei.acay.com.au>
  10. NNTP-Posting-Host: ftp.triumf.ca
  11. News-Software: VAX/VMS VNEWS 1.50    
  12.  
  13. In article <4jd2of$rqd@lei.acay.com.au>, parry@acay.com.au writes...
  14. >Hi there,
  15. >I'm a complete newbie to programing, and am in first year at uni.
  16. >As we are learning the C language, one of the guys at work gave me his "old"
  17. >  C compiler c++. Aparently it is exactly the same as compiling under unix which is
  18. > what we use at uni.
  19. >I now hav a small problem, we have been given our asignment witch uses a
  20. > make file to combine and compile a final executable. Is there such a command
  21. > or function for the borland compiler?
  22. >I would be extremely grateful if someone could tell me if it exists and what the operartion is.
  23.  
  24. Earlier versions of Borland and Turbo C(++) included make - it is a separate
  25. program, and should be documented in the manuals.  The syntax of Borland
  26. makefiles may be slightly different from the one you are using under unix.
  27. (I don't know if the TC for Windows includes make - probably not...)
  28.  
  29. The "project" feature of the Borland IDEs provides a function similar to make,
  30. and Borland provides (with some versions, anyway) a program called prj2mak to
  31. convert a project file to a make file.  It may be worthwhile to set up a simple
  32. project in the IDE, then use prj2mak to produce a makefile for it, and use that
  33. as a starting point for your other makefiles.
  34.  
  35.  
  36.  
  37. Peter Bennett VE7CEI                | Vessels shall be deemed to be in sight
  38. Internet: bennett@triumf.ca         | of one another only when one can be
  39. Packet: ve7cei@ve7kit.#vanc.bc.ca   | observed visually from the other
  40. TRIUMF, Vancouver, B.C., Canada     |                          ColRegs 3(k)
  41. GPS and NMEA info and programs: ftp://sundae.triumf.ca/pub/peter/index.html
  42. or: ftp://ftp-i2.informatik.rwth-aachen.de/pub/arnd/GPS/peter/index.html
  43.  
  44.